A One-Step Approach to Covariate Shift Adaptation