Connecting choice functions and sets of desirable gambles