Israel has admitted it was behind an airstrike that destroyed a Syrian nuclear reactor, ending a decade of silence over the attack in September 2007.