Simultaneous production of alkali metal hydroxides and chlorine, its oxyacids or salts