Novel compositions and architectures of organic-inorganic layered composites with ultrahigh energy storage density and excellent thermal stability