Multistable sheets with rewritable patterns for switchable shape-morphing