Electronic and elastic properties of a double perovskite slab–rocksalt layer of Eu2SrAl2O7 investigated by LSDA+U