Estimation or correction of the frequency offset between the received optical signal and the optical local oscillator