On the Lindemann criterion in 2D