On the quantum theory of sequential measurements