Quantum chemical study of the reactivity of boron-doped graphite layers towards water formation