Interdependence of the volume and stress ensembles and equipartition in statistical mechanics of granular systems.