Information transmission by stochastic synapses with short-term depression: neural coding and optimization