MADI: Inter-domain Matching and Intra-domain Discrimination for Cross-domain Speech Recognition