Upconversion luminescence of Er3+ in chloride glasses based on ZnCl2 or CdCl2