Labour market outcomes of shifts in industrial composition in Brazil and Mexico