Specific heat in the three-band Hubbard model