Quantum-chemical calculations of electronic spectra absorption: ab initio or semiempirical methods?