Bubble Attachment to Cellulose and Silica Surfaces of Varied Surface Energies: Wetting Transition and Implications in Foam Forming