(Reuters) - The S&P and the Dow opened at record highs for the second straight day on Tuesday with gains across sectors as investors looked ahead to the upcoming earnings season.