Low-spin-high-spin transition in the Co3O4 spinel