Energetics and electronic structure of graphene nanoribbons under uniaxial torsional strain