Wastewater treatment and reuse for food and water security