The influence of finite lifetime of electronic states on the vibrational structure of molecular electronic spectra