WWE posts 2nd quarter profit