Surface enhanced raman scattering and gated materials for sensing applications: the ultrasensitive detection of mycoplasma and cocaine