From large language models to multimodal AI: A scoping review on the potential of generative AI in medicine