Sub-nanometer control of the interlayer spacing in thin films of intercalated rodlike conjugated molecules