Design of a rectangular patch antenna with a photonic crystal substrate