Mechanisms of intersegmental coordination in leech locomotion