Effects of the constriction geometry on quasi-one-dimensional transport: Adiabatic evolution and resonant tunneling.