On the optimality of limit cycles in dynamic economic systems