Solution-based fabrication of mechanically transformative materials for implantable applications.