Anaesthetics and plants: from sensory systems to cognition-based adaptive behaviour