Towards a Unified Analysis of Kernel-based Methods Under Covariate Shift