Portugal's grocers have warned a controversial new law restricting supermarket discounts will harm consumers, food suppliers and retailers.