Synthesis of N-pyrimidin[1,3,4]oxadiazoles and N-pyrimidin[1,3,4]-thiadiazoles from 1,3,4-oxadiazol-2-amines and 1,3,4-thiadiazol-2-amines via Pd-catalyzed heteroarylamination