Measurement in quantum theory