Characterization of polymeric metal-insulator–semiconductor diodes