On the electron-pair nature of the hydrogen bond in the framework of the atoms in molecules theory