Degradation of Fe–Pt thin film permanent magnets by irradiation with 4He and H ions