Luminescent transitions and conductivity in zinc oxide