Levi Strauss, the world's largest jeans manufacturer, has pledged to phase out hazardous chemicals from its supply chain by 2020, following pressure from environmental group Greenpeace.