Dissecting In-Context Learning of Translations in GPTs