Double-Weighting for Covariate Shift Adaptation