Deformation of foamed rhyolites under internal and external stresses: an experimental investigation