Photoluminescence and photomodulated transmittance spectroscopy of ZnO nanowires