Assessing the potential and limitations of membrane-based technologies for the treatment of oilfield produced water