Separation of isotopes by laser deflection of atomic beam. I. Barium