Use of Kramers-Kronig relation in phase retrieval calculation in X-ray spectro-ptychography.