Deterministic Time-Bin Entanglement between a Single Photon and an Atomic Ensemble.