InfiMed: Low-Resource Medical MLLMs with Advancing Understanding and Reasoning