Corrosion and lubrication properties of some ionic liquids