Trump says hacking had ‘no effect’ on his election