Analyzing Microalgae-Bacteria Population Changes in Response to Environmental Parameters for Improved Wastewater Treatment