Measurement of Lithium and Beryllium cosmic-ray abundances by the PAMELA experiment