Two important trade measures have been signed into law by President Barack Obama, in a move applauded by US apparel, footwear and textile groups.