Atomic structure of highly ordered pyrolytic graphite doped with boron