Mass motions in the atmospheres of red giants in the globular clusters M55 and M13