USA:s tidigare president Donald Trump har läckt hemligstämplad information om landets atomubåtar, enligt amerikanska medier.