Gerry Adams has denied being a member of the Irish Republican Army (IRA), telling a court he had "no involvement whatsoever" in bombings carried out by the paramilitary group.