On the derivation of the elastic properties of lattice nanostructures: The case of graphene sheets