Nanostructured antireflective in-plane solar harvester