The length of a rectangle is 3 centimeters less than twice its width. The perimeter of the rectangle is 48 cm. What are the dimensions of the rectangle?