Electronic structure and applications of CaZnOS:Mn phosphors