Computational Lens on Cognition: Study Of Autobiographical Versus Imagined Stories With Large-Scale Language Models