Photochemistry of 1,2,4-oxadiazoles. A DFT study on photoinduced competitive rearrangements of 3-amino- and 3-N-methylamino-5-perfluoroalkyl-1,2,4-oxadiazoles