Photovoltaic effect and charge storage in single ZnO nanowires