Domain size and thickness control of thin film photonic crystals