Galactic evolution of beryllium