Foldable structures made of hydrogel bilayers