The companies said that Microsoft would pay $196 a share to acquire LinkedIn, the business social network site.