Principles of food safety legislation