Commerce secretary to take medical leave of absence after seizure