Generalized structural motif model for studying the thermodynamic stability of fullerenes: from C60 to graphene passing through giant fullerenes.