Theory of propagation of slow heat waves in a catalytic bed in a reversible reaction