Functionalized polymers from Ziegler-Natta catalysts