Ultrahigh-Q photoinduced microcavities in defect-free photonic crystals