Chemistry of diradicals. IV. Thermochemistry, calculations, and the barrier to ring closure in short-chain-length diradicals