Quantum theory and the measurement problem