S&P 500's 10% first-half gain points to more upside ahead