DFT and quasi-harmonic Debye study of rare-earth nickelates Sm4Ni3O8 and Eu4Ni3O8 | Synapse