Design of energy efficient processes for controlled flavor generation in cocoa roasting