If consumers want cellphones and other gadgets to be made under decent working conditions, they will also have to reckon with higher prices.