Near-field enhancement of periodic nanostructures for photovoltaic applications: a theoretical study