A novel technique for plasma density measurement using surface-wave transmission spectra