Optical properties of thin solid films of J-aggregated dyes with long alkyl substituents