Effect of buffer capacity on electrochemical behavior of dopamine and ascorbic acid