Pierre Danon, the chief executive of BT Retail, is leaving the company to become chief operating officer of IT services supplier Capgemini.