SparSpec: a new method for fitting multiple sinusoids with irregularly sampled data