Optical absorption in vertical silicon nanowires for solar cell applications