Research in the 2,5-diaryl-1,3,4-oxadiazole series. 1. Electronic structures and spectral-luminescence properties of substituted 2,5-diphenyl-1,3,4-oxadiazoles