On-the-fly Text Retrieval for End-to-End ASR Adaptation