Molecular force field for ionic liquids III: imidazolium, pyridinium, and phosphonium cations; chloride, bromide, and dicyanamide anions.