Foaming, foam films, antifoaming and defoaming