Theoretical study of the structure and spectroscopic characteristics of protonated carbon dioxide