Metacognitive Capabilities of LLMs: An Exploration in Mathematical Problem Solving