Large language models can segment narrative events similarly to humans