Blue line wings of resonance lines of potassium and sodium perturbed by molecular hydrogen and rare gases