Characterising the Creative Process in Humans and Large Language Models