Social reproduction and inequality in the Barcelona area, 15th-20th centuries