Silk-protein-based gradient hydrogels with multimode reprogrammable shape changes for biointegrated devices