Pulsed laser deposition of hard magnetic films