Resonant charge-transfer calculations using a pseudopotential approach and an atomic two-state expansion. (Na+,Na) and (K+,K) cross sections