An entangled photon source for resonant single-photon–single-atom interaction