Transfer in perceptual learning as extrapolation