Magnetic and structural properties of Mn adatoms on copper nitride over Cu(100)