Time–frequency analysis of serum with proton nuclear magnetic resonance for diagnosis of pancreatic cancer