Electronic structure of an AlN film produced by ion implantation, studied by electron spectroscopy