Lattice-parameter effects on diffracted transmission of GaN two-dimensional square-lattice photonic crystals