Electronic structure and bonding properties of cobalt oxide in the spinel structure