Model for intersegmental coordination of leech swimming: central and sensory mechanisms