Coupled simulation of deformable solids, rigid bodies, and fluids with surface tension