Metal Ions Removal from Contaminated Water Using Membranes Functionalized with Ionic Liquids