Finite-element modeling of soft solids with liquid inclusions