Behavioral adaptation of the Aplysia siphon-withdrawal response is accompanied by sensory adaptation.