Protonation effects on the photophysical properties of poly(2,5-pyridine diyl)