Investigation of Plasmonic Bandgap for 1D Exposed and Buried Metallic Gratings