Pectin‐based polymer hydrogel as a carrier for release of agricultural nutrients and removal of heavy metals from wastewater