A theoretical analysis of cohesive energy between carbon nanotubes, graphene and substrates