Development of an Anaerobic-Phototrophic Bioreactor System for Wastewater Treatment