Nanostructured organic photodiodes