Transferable Coarse-Grained Models for Ionic Liquids