Diode Devices Based on Amorphous Selenium Films