Under a proposed law, companies in Europe could be sanctioned if they fail to pay men and women the same salaries.