Soft-drink companies will be banned from sponsoring London's Olympic bid.