Functionalization of polymers derived from ethylene oxide