Photocurrent reversal and charge storage in amorphous silicon: Hydrogen type diodes