Solid-state NMR characterization of the structure and thermal stability of hybrid organic-inorganic compounds based on a HLaNb2O7 Dion-Jacobson layered perovskite