Mg2(Si,Sn)-based thermoelectric materials and devices