On-surface self-assembly and characterization of a macromolecular charge transfer complex by scanning tunneling microscopy and spectroscopy