Appropriate methods of treating water and wastewater in developing countries