Convenient methods for preparing π-conjugated linkers as building blocks for modular chemistry