Self-assembly of highly luminescent bi-1,3,4-oxadiazole derivatives through electron donor–acceptor interactions in three-dimensional crystals, two-dimensional layers and mesophases