Preparation of macroporous monoliths based on epoxy-bearing hydrophilic terpolymers and applied for affinity separations