Mexico's Televisa swings to net loss in third quarter