Sensex, Nifty drift as US stocks near records; Mazagon Dock in focus