Optimizing the performance of porous electrochemical cells for flue gas purification using the DOE method