Photon management in hydrogenated amorphous silicon solar cells using periodic nanostructures