Popper versus Einstein: On the Philosophical Foundations of Physics