Optimal Algorithms in Linear Regression under Covariate Shift: On the Importance of Precondition