Preparation of a Hydrogel-Based Adsorbent for Metal Ions through High Internal Phase Emulsion Polymerization