The Complexity of Planning Problems With Simple Causal Graphs