Cyclic operation of reaction systems: Effects of heat and mass transfer resistance