Thermal analysis in the M-Ba-Cu-O systems (M = Y, La, Pr) in relation to high Tc superconductors