Upgrading a wastewater treatment plant with thermophilic digestion of thermally pre-treated secondary sludge: techno-economic and environmental assessment