Dependence of crystal field levels of Pr3+ in LaCl3 and GdCl3 on coordination geometry