A ZnO-Nanowire Phototransistor Prepared on Glass Substrates