Bifurcations of limit cycles in open and closed loop reverse flow reactors