Retrieval-Augmented Semantic Parsing: Using Large Language Models to Improve Generalization