Effect of pi–pi stacking on the self-assembly of azomethine-type rod–coil liquid crystals