Resonance surface plasmon spectroscopy by tunable enhanced light transmission through nanostructured gratings and thin films