Extended Ensemble Approach to Transferable Potentials for Low-Resolution Coarse-Grained Models of Ionomers.