The structure and robustness of ecological networks with two interaction types