Scientists in Spain, Italy and the UK have developed a way to monitor the effect of climate change and pollution on the environment, by creating a special kind of plant which have in-built sensors.