Thermoelectric MHD in dendritic solidification