Lindemann melting criterion and the Gaussian core model