Measurement in Quantum Mechanics and Classical Statistical Mechanics