Production of energy from concentrated brines by pressure-retarded osmosis