Self-balanced Learning For Domain Generalization