Direct spectral phase function calculation for dispersive interferometric thickness profilometry