Life cycle assessment and economic analysis of anaerobic membrane bioreactor whole-plant configurations for resource recovery from domestic wastewater.