(Reuters) - A rise in technology stocks and strong earnings from Oreo cookie maker Mondelez buoyed the S&P and the Nasdaq on Tuesday, while a decline in Pfizer weighed on the Dow.