Maximize the operating profit of a SWRO-PRO integrated process for optimal water production and energy recovery