Silver Nanowire Networks as Transparent Electrodes for Organic Photovoltaics and Light Emitting Diodes