Determination of Nonlinear Optical Efficiencies of Ultrahigh-Q Photonic Crystal Nanocavities with Structural Imperfections