Ion transport and regulation in a synaptic vesicle glutamate transporter