Energetics of X-Ray Cavities and Radio Lobes in Galaxy Clusters