Recording different geometries of 2D hexagonal photonic crystals by choosing the phase between two-beam interference exposures.