On Magnetic and Crystal Structures of NiO and MnO