Crystal structure, electronic structure, temperature-dependent optical and scintillation properties of CsCe2Br7