Numerical correction of reference phases in phase-shifting interferometry by iterative least-squares fitting.