EPEE: Towards Efficient and Effective Foundation Models in Biomedicine