How well do LLMs cite relevant medical references? An evaluation framework and analyses