Method for direct measurement of the film tension of black foam films at various capillary pressures