Improvement of Wastewater Treatment Performance and Power Generation in Microbial Fuel Cells by Enhancing Hydrolysis and Acidogenesis, and by Reducing Internal Losses