Image retrieval outperforms diffusion models on data augmentation