How to catch more prey with less effective traps: explaining the evolution of temporarily inactive traps in carnivorous pitcher plants