Do plants learn like humans? Smart seedlings can be taught to adapt to their environment