Ironwood Pharma posts 3Q profit on drug approval