Photonic crystal nanocavities and broad-area cavities