Factory layoffs near Covid levels in June, says S&P