Sobolev regularity for solutions of parabolic equations by extrapolation methods