A One-step Approach to Covariate Shift Adaptation