First approach to the use of liquid crystal elastomers for chemical sensors.