What is the altitude of an equilateral triangle whose perimeter is 12?