Leveraging atomistic simulations and machine learning for the design of ionic liquids as electrolytes for battery application