Flotation of the P-type semiconductor NiO as a function of point defects