Temperature-regulated flexibility of polymer chains in rapidly self-healing hydrogels