Calculating pH of specific buffer solutions