Thermodynamic aspects of massive transformations in the CuGa and CuZn systems