Navy medic shoots 2 men before being killed on army base