Effects of predator-specific defence on biodiversity and community complexity in two-trophic-level communities