A large-deviation result for the range of random walk and for the Wiener sausage