Accountability in artificial intelligence: what it is and how it works