The Scottish government is to create a food standards watchdog for the country.