Functional hyper-crosslinked resins with tailored adsorption properties for environmental applications