Crystal Structure and Magnetic Properties of (Ni1-x]Mgx)6MnO8