Microsoft to buy 4% stake in London Stock Exchange