Lingshu: Generalist Foundation Model for Unified Multimodal Medical Understanding and Reasoning