Bioactivity of essential oils towards fungi and bacteria: mode of action and mathematical tools