Catalyst comprising coke and process for the production of dienes