Thermodynamics and magnetic properties of LaPb3 and CePb3