Detecting and distinguishing tipping points using spectral early warning signals