Application of gradient elasticity to benchmark problems of beam vibrations