Electrochemical treatment of chemical oxygen demand in produced water using flow‐by porous graphite electrode