Synthesis of functional hydrocarbon polymers with well-defined molecular structures