Periodic trends in chemical reactivity: reactions of Sc+, Y+, La+, and Lu+ with H2, D2, and HD