Deposition of organized surfactant films on solid substrates