Flocculation of anionic surfactant micelles in the presence of hydrocarbons