Effects of partitioning allochthonous and autochthonous resources on food web stability