A mathematical model for tailoring antimicrobial packaging material containing encapsulated volatile compounds