How transparency modulates trust in artificial intelligence