Role of surface electronic transitions in linear and nonlinear electromagnetic phenomena at noble metal surfaces: beyond jellium