SmallCap: Lightweight Image Captioning Prompted with Retrieval Augmentation