Dynamic optimization applied for modelling and optimal control of a packed bed reactor for chemical-looping combustion