Molecular and cellular encoding of stress across the lifespan