Solvent effects on two-dimensional molecular self-assemblies investigated by using scanning tunneling microscopy