Transition from meson to quark dynamics in the nucleon form factors