Growth and thermodynamic characterization of pure and Er-doped KPb2Cl5