Epitaxial heterostructures of hard magnetic and superconducting thin films