High order harmonic generation due to nonlinear Thomson scattering