Upper bounds on the k-domination number and the k-Roman domination number