Equilibrium and dynamic behavior of a system containing a mixture of anionic and nonionic surfactants