There were significant failures in the Secret Service's planning, execution and leadership that led to the assassination attempt of President-elect Donald Trump in July, a report has found.