A historical introduction to the philosophy of science