The Capability of Large Language Models to Measure Psychiatric Functioning