The Australian federal government has created a food and grocery code of conduct that, it said, will help ensure "fair and transparent" dealings between the country's largest supermarkets and their suppliers.