Persistence and stability of interacting species in response to climate warming: the role of trophic structure