Anodic oxidation of chlorides, bromides and iodides on a platinum microelectrode with periodical renewal of the diffusion layer