Large language models in medicine: the potentials and pitfalls