Quiescent ulcerative colitis and Crohn’s disease have potential effect on cognitive function