Sensex Nifty end lower after hitting record highs as financial stocks fall