Crystal structure of the compounds U2N2X and Th2(N,O)2 with X = P, S, As and Se