Learning to Match Distributions for Domain Adaptation