Electron transport through organic molecules with applications to molecular devices