India's midcaps outperform large-caps in Q3 profit growth