Signal amplification and precise adaptation in bacterial chemotaxis