Physics, philosophy, and the nature of reality