Adaptive Machine Translation with Large Language Models