Single-molecule spectroscopy in oxygen-depleted polymer films