Calculation method for a quadrature phase-shifting interferometer and its applications.