US retail sales rise 1.2% in August, beating forecasts