Memory problem solving and cognitive style in patients of anxiety and depression effect of age and gender