Plant 'senses' predator and defends itself, study finds