Structure and mechanism of a bacterial sodium-dependent dicarboxylate transporter