Sensory adaptation in bacterial chemotaxis: regulation of demethylation