Environmentally responsive hydrogels with dynamically tunable properties as extracellular matrix mimetic