Smart biomaterials allow regeneration of maxillofacial tissue