Donald Trump has ordered the release of thousands of classified files on the assassination of President John F Kennedy.