Structural, elastic and magnetic properties of spinel Co3O4