Determination of the complexation constants of Pb(II) and Cd(II) with thymol blue using spectrophotometry, SQUAD and the HSAB principle.