Electron structure and spectroscopic properties of yttrium compounds with cinnamic and quinaldic acids