Effective negative swelling of hydrogel-solid composites