Richemont to sell online retailer stake to Farfetch, takes 2.7 bln euro writedown