Donald Trump ‘considered attacking Iran nuclear site after US election defeat’