High-Temperature Superconductors Explained by Pairing in Spin-Density Waves