The age of the galactic cosmic rays derived from the abundance of Be-10