Programmed planar-to-helical shape transformations of composite hydrogels with bioinspired layered fibrous structures.