AstraZeneca to buy biotech firm TeneoTwo for up to $1.27 billion