Ultrathin antiferromagnetic films on a ferromagnetic substrate: a first-principles study of Mn on Fe(001)