Real-Time Image Shift Detection with Cross Correlation Coefficient Algorithm for Correlating Shack-Hartmann Wavefront Sensors Based on FPGA and DSP