High-temperature superconductivity in mixed-valent copper oxides: Relation between Tc and the nominal Cu3+Cu2+ ratio