Electronic effects on the interfaces “nanodiamond - surface groups – water molecules”