Preparation of perfluorinated ionomers for fuel cell applications