Optimizing Bleaching Operating Conditions Based on Mathematical Programming to Reduce AOX Emissions