TCS records highest ever profit in Q3