Grain boundary groove evolutions by surface self-diffusion on a plane and on a wire