Compartments in a marine food web associated with phylogeny, body mass, and habitat structure