Calculation of enthalpies of formation and band gaps of polymeric binders