In situ characterization of thin film growth: Boron nitride on silicon