The Cognitive Capabilities of Generative AI: A Comparative Analysis with Human Benchmarks