Tight-binding theory of graphene bending