RAT: Retrieval-Augmented Transformer for Click-Through Rate Prediction