The width and length of a rectangle are consecutive integers. if the perimeter of the rectangle is 374 inches, find the width and length of the rectangle.