Japanese pharmaceutical giant to buy US drugmaker for $5.9B