All refractory NbN/MgO/NbN tunnel junctions