Oxygen stoichiometry in high superconducting critical temperature perovskites by thermogravimetry