Interrelation between substrate roughness and thin-film structure of functionalized acenes on graphite