Electron transport in semiconducting nanowires and quantum dots