Numerical modelling of polydispersed flows using an adaptive-mesh finite element method with application to froth flotation