battery wastewater treatment and resource recovery