Fusion near the threshold: A comparative study of the systems 40Ar + 112, 116, 122sn and 40Ar + 144, 148, 154Sm