Inhomogeneous deformation of elastomer gels in equilibrium under saturated and unsaturated conditions