Edward J. Smith, Captain of the Titanic