What MLLMs Learn about When they Learn about Multimodal Reasoning: Perception, Reasoning, or their Integration?