Structure of the periplasmic domain of the PilN type IV pilus biogenesis protein from Thermus thermophilus