Extensive studies on pi-stacking of poly(3-alkylthiophene-2,5-diyl)s and poly(4-alkylthiazole-2,5-diyl)s by optical spectroscopy, NMR analysis, light scattering analysis, and X-ray crystallography