Reaction of carboxy-, ethoxycarbonyl- and hydroxymethylpyridines with amides of phosphorous acid