Nifty 50, Sensex at record highs; how should you play largecaps, midcaps, smallcaps in ongoing market rally?