Electronic structure and spectral properties of N-anthryl substituted pyridinium cations