Dependence of Tc and transport properties on the Cu valence in HgBa2Can-1CunO2(n+i)+δ (n=2,3) superconductors