Smart multifunctional hierarchical cellular materials for implants with improved resistance and osteointegration