Cubist 3Q profit rises, but weighed down by taxes