The nature of counterion and photovoltaic properties of cationic polymethine dyes