New membrane provides drinking water and a supply of lithium