SEAL commander's death in Afghanistan an apparent suicide, military says