France has signed off plans to implement legislation that will change how food products are priced and promoted.