Correlation between nanostructural, optical, and photoelectrical properties of P3HT: SiNW nanocomposites for solar- cell application