EU government representatives have voted to impose two-year import duties on Chinese and Vietnamese shoes, ending months of negotiations and disagreements.