Characterization of NbN/AlN/NbN tunnel junctions