Electrochemical noise generated by anodic dissolution or diffusion processes