Stability of thin films in concentrated emulsions