SAM Decoding: Speculative Decoding via Suffix Automaton