Facile synthesis of multifunctional nanocomposites with good compatibility for efficient dual-mode T1 and T2 magnetic resonance imaging and gene delivery