The role of phonons in the volume behavior near the Curie point of ferromagnetic metals