Calculations of the Far-Wing Line Profiles of Sodium and Potassium in the Atmospheres of Substellar-Mass Objects