An innovative approach for on-demand hydrogen generation, and its application to the preparation of kraft black liquor foams