Advanced and Emerging Technologies for Resource Recovery from Wastes