Structural and functional insights into membrane transport mechanisms