Thickness and crossing number of knots