A microscopic lattice model for liquid crystal elastomers