phenolphthalein for wastewater analysis