Microsoft to buy LinkedIn for $26.2bn in cash