Small transition metal cluster adsorbed on graphene and graphene nanoribbons: A density functional based tight binding molecular dynamics study