Cobalt mixed spinels as catalysts for the synthesis of hydrocarbons