Text this: Improving automated deep phenotyping through large language models using retrieval-augmented generation