Effect of self-heating on photo-mechanical behavior of nematic elastomers