Multiscale simulation of boron-doped nanocarbons in electrochemical applications