Magnetic properties of FePt1−xIrx alloys and applications of the thin films