EPR and NMR measurements on high-temperature superconductors