Friction coefficient for hexagonal boron nitride surfaces from ab initio calculations