Process for preparing ionomeric membranes