Controlling the transmission line shape of molecular t-stubs and potential thermoelectric applications.