Premature deaths of nursing home residents: an epidemiological analysis