Ab initio insights into the interaction mechanisms between boron, nitrogen and oxygen doped diamond surfaces and water molecules