Optical spectra of Sm3+ and Sm2+ in chloride glass