Syntheses, structures, thermal stabilities and magnetic properties of two-layered metal diphosphonates