Nonlinear Least-Squares Frequency Offset Estimator and Its Simplified Versions for Flat-Fading Channel