Phase calculation based on curve fitting with a two-wavelength interferometer.