Luminescence and scintillation properties of CsI -- a potential cryogenic scintillator