Electric field concentration in hydrogel–elastomer devices