how does froth flotation work