Forward osmosis for desalination and water recovery