Cognition, Optimism and the Formation of Age-Dependent Survival Beliefs