Defense Sec. Mattis to leave Trump administration at end of February