Deuteron and proton NMR study of D2, p-dichlorobenzene and 1,3,5-trichlorobenzene in bimesogenic liquid crystals with two nematic phases