Early attention and negative emotionality predict later cognitive and behavioural function