Lifetime of image-potential states on metal surfaces