Preparation of ligation intermediates and related polynucleotide pyrophosphates