Intelligent Hydrogels in Diagnostics and Therapeutics