Photoluminescence identification of surface contaminants on zinc oxide from their phase transitions