Bipartite qubit entanglement under cavity quantum electrodynamics