Large language models in medical and healthcare fields: applications, advances, and challenges