The Logical Structure of Scientific Explanation and Prediction: Planetary Orbits in a Sun’s Gravitational Field