Effect of substitution on the dimensionality of supramolecular aggregation in dihydrobenzopyrazoloquinolines.