Psychologists have found that a spiritual outlook makes humans more resilient to trauma