Synthesis and characterization of terpolymeric resin for removal of hexavalent chromium