Correlation between Tc and the structural parameters of the cation sublattice in the perovskite layer of HgBa2CuO4 +δ and Tl2Ba2CuO4+δ