Studies on the oxygen stoichiometry in superconducting cuprates by thermoanalytical methods