Competitive adsorption of emulsifiers 1. Theory for adsorption of small and large molecules