Theoretical and experimental analyses of optical transitions of nitrobenzoxadiazole (NBD) derivatives