Masked Face Recognition with Generative-to-Discriminative Representations