Teva's third-quarter profit climbs 23 percent