Better mid-life diet linked to healthy ageing