Magnetic properties and structure of CoFe/MnN films with Ta layers