Cognitive functioning in post‐traumatic stress disorder