An Information-theoretic Approach to Distribution Shifts