Using analogies and examples to help students overcome misconceptions in physics: A comparison of two teaching strategies