A self-aligned nano-fabrication process for vertical NbN–MgO–NbN Josephson junctions