Text this: Photocatalytic degradation and upcycling of nitrate-rich textile wastewater to ammonia over a tandem reactor