Three-dimensional grating nanowires for enhanced light trapping.