Programmable Liquid Crystal Elastomers Prepared by Thiol-Ene Photopolymerization.