phenolphthalein for wastewater treatment