Benchmark calculations for near-threshold electron-impact excitation of krypton and xenon atoms