New template based nanoelectrode arrays for organic/inorganic photovoltaic applications