TCS net profit beats estimates in 'unusual Q2'