Hard magnetic FePt films for atom chips