Structural deformations of two-dimensional planar structures under uniaxial strain: the case of graphene