How many different rectangles have a perimeter of 12 cm if both the length and the width are whole numbers?