Evaluation and correction of aberrations in an optical correlator by phase-shifting interferometry.