Optimization of analytical foam flotation separations by means of the simplex algorithm