Nonlocal and quantum-tunneling contributions to harmonic generation in nanostructures: Electron-cloud-screening effects