Procedure to optimize modified atmosphere packaging for fruit