Stationary entanglement of photons and atoms in a high-finesse resonator