A rectangular courtyard is 12 feet long and 8 feet wide. A tile is 2 feet long and 2 feet wide. How many tiles are needed to cover the courtyard?