Dynamic structure of a food web model : comparison with a food chain model