Giant optical second-harmonic generation in single and coupled microcavities formed from one-dimensional photonic crystals