A study on the antimicrobial activity of thymol intended as natural preservative