A BGK model for a mixture of chemically reacting gases