Investigation of nuclear quadrupole resonance in the series of bromine- and iodine-containing disubstituted benzenes