Investigations on the structure of boron nitride films