Scintillation mechanism and efficiency of ternary scintillator thin films