Structure–property relationships in molecular wires