Trigeneration and Polygeneration Configurations for Desalination and Other Beneficial Processes