Google to pay News Corp to distribute content in global deal