In‐hospital death according to dementia diagnosis in acutely ill elderly patients: the REPOSI study