Refining classical force fields for ionic liquids: theory and application to [MMIM][Cl].