Dynamic surface tension of surfactant systems and its relation to foam formation and liquid film drainage on solid surfaces