Phase diagram and magnetic properties of the diluted fcc system NipMg1-pO.