Superconducting permanent magnets