Variational bounds for the generalized random energy model.