Optimization of the clinker production phase in a cement plant