Variance Matters: Improving Domain Adaptation via Stratified Sampling