Holographic fabrication of photonic crystals using multidimensional phase masks