Lab-on-a-chip device to quantify buffer capacity of blood