Spectroscopic studies of dye-surfactant interactions with the co-existence of heavy metal ions for foam fractionation.