The influence of surface tension on the diffusion-controlled growth or dissolution of spherical gas bubbles