Understanding Agent Incentives using Causal Influence Diagrams. Part I: Single Action Settings