InfoRM: Mitigating Reward Hacking in RLHF via Information-Theoretic Reward Modeling