Optical nonlinearity enhancement of graded metallic films