Measurement of cosmogenic 10Be and 26Al using accelerator mass spectrometer AMS and its applications in Geology and Archeology