Copper-Oxide Superconductors as Mixed-Valence Heavy Fermions: Spin-Fluctuation Mechanism of Superconductivity