State-of-matter-dependent charge-transfer interactions between planar molecules for doping applications