Navigating the divide between scientific practice and science studies to support undergraduate teaching of epistemic knowledge