Nanoparticle Stacks with Graded Refractive Indices Enhance the Omnidirectional Light Harvesting of Solar Cells and the Light Extraction of Light‐Emitting Diodes. (16th October 2012)