Routes to healthy ageing: the role of lifecourse patterns