Motion-resolved quantitative phase imaging