Harmonic generation by strongly driven classical anharmonic oscillators