In situ gas analysis during the growth of hexagonal boron nitride from ammonia borane