The length of the sides of a triangle can be represented as consecutive even integers. If the perimeter of the triangle is 54 cm, what are the lengths of the three sides?