The hazard of near-Earth asteroid impacts on earth