Optically induced diffraction gratings based on periodic modulation of linear and nonlinear effects for atom-light coupling quantum systems near plasmonic nanostructures