Stretchable and foldable silicon-based electronics