Inequalities and Segregation across the Long-Term Economic Cycle