Thermodynamic optimization and calculation of the ErCl3–MCl (M=Li,Na,K,Rb,Cs ) systems