Sensex, Nifty at record highs: Is it a good time to invest in stock market?