Rheology of bubble-bearing magmas