Total cross sections for the production of 22Na and 24Na in proton-induced reactions on 27Al from 0.40 to 22.4 GeV