Elastocaloric Effect in Carbon Nanotubes and Graphene.