Compositions for foaming Foamed or intumescent coatings