Dynamic and static effects on 35Cl nuclear quadrupole resonance due to substitutional impurities in crystalline p-dichlorobenzene