Social Mobility And Segregation In A Caste-Based Society: Bengal, 1850-2020