Design of photonic crystal microcavities for cavity QED