Elucidation of the mechanism of action of essential oils to control postharvest diseases of apples and peaches