Preparation of phosphate buffer