MMDT: Decoding the Trustworthiness and Safety of Multimodal Foundation Models