Realism, Confirmation, and Explanation: Philosophical Studies in Models and Model-Based Science