Catalysts in the form of a foam