Identification, characterization and evolution of the mating type locus in diatoms