In-Context Learning Boosts Speech Recognition via Human-like Adaptation to Speakers and Language Varieties