Doping and temperature dependence of the specific heat in p-d model