Maximizing Coulombic recovery and solids reduction from primary sludge by controlling retention time and pH in a flat-plate microbial electrolysis cell