Effect of pi-conjugated length of bridging ligand on the optoelectronic properties of platinum(II) dimers.