Photoinduced oxygen release and persistent photoconductivity in ZnO nanowires