Synthesis of partially fluorinated monomers and polymers for ion-exchange resins