Transmission Spectra of One-Dimensional Photonic Crystals with Single Defect in Different Locations