The on-surface self-assembly, reactions and electronic properties of PXX and binol derivatives