First-principles insights into half-metallic ferromagnetism, lattice dynamics, and thermoelectric performance of MgX 2 Se 4 (X=Ti, Mn) spinel chalcogenides | Synapse