Theoretical study of the excited-state intramolecular proton transfer and rotamerism in 2,5-bis(2-hydroxyphenyl)-1,3,4-oxadiazole