Factors affecting efficacy of pitfall traps for beetles (Coleoptera: Carabidae and Tenebrionidae).