CLUB: A Contrastive Log-ratio Upper Bound of Mutual Information