IR and x-ray studies of ion-beam-synthesized aluminium nitride films