Detection mechanism and characteristics of ZnO-based N2O sensors operating with photons