Charleston's Dow plant to close in third quarter