First-principles exchange interactions between ferromagnetic and antiferromagnetic films: Co on NiMn, a case study