Optimization of Three-Dimensional Micropost Microcavities for Cavity Quantum Electrodynamics