Most S&P 500 sectors have seen an increase in net profit margin in Q2 compared to Q1.