Is PRM Necessary? Problem-Solving RL Implicitly Induces PRM Capability in LLMs