News Corp. posts profit in first earnings report after split