Static and dynamic properties of ionic liquids