Effect of surfactant concentration on the critical thicknesses of liquid films