Describe the concept of wave-particle duality and its significance in quantum mechanics. How did the results of the double-slit experiment contribute to the development of this theory?