Domain-Specific Pretraining of Language Models: A Comparative Study in the Medical Field