Segregation and attrition of polydisperse solids in a circulating fluidized bed