A structural study of polycrystalline AlN films prepared by ion-beam-assisted deposition