Thermoelectric Properties of Molecular Nanowires