Real-time, volatile-detection-assisted control for microwave drying