Transition from ciliary to flapping mode in a swimming mollusc: flapping flight as a bifurcation in Re_ | Synapse