Trade liberalization and the allocation over domestic and foreign supplies: a case study for Spanish manufacturing