The quantum mechanics of particle-correlation measurements in high-energy heavy-ion collisions