Comparison of the optical properties of as-grown ensembles and single ZnO nanowires