Thermodynamic properties of Pd40Ni40P20 in the glassy, liquid, and crystalline states