Quantum computations without definite causal structure