Spectroscopy and control of near-surface defects in conductive thin film ZnO