The Mathematical Structure of Information Bottleneck Methods