Quantum telecommunication with atomic ensembles