Theory and experiment on the low-Reynolds-number expansion and contraction of a bubble pinned at a submerged tube tip