Trait-mediated diversification in nematode predator-prey systems