Parametrization of parton distributions in the photon