Diesel Engine Diagnosis Based on Analysis of the Crankshaft's Speed Variation