The two-prism experiment and wave-particle duality of light