Fast Transformation of Discriminators into Encoders using Pre-Trained GANs