The construction of a two-dimensional organic–inorganic hybrid double perovskite ferroelastic with a high Tc and narrow band gap