A Comprehensive Theoretical Study of Amide Resonance, Intramolecular Hydrogen Bonding, and π-Electron Delocalization in Diformyl and Dithioformyl Amine