Quantitative phase spectroscopy