Activation and inactivation mechanisms of polyphenol oxidase during thermal and non-thermal methods of food processing