Engineering for food safety and quality