An upper bound for the total restrained domination number of graphs