Experimental time-resolved photoemission and ab initio study of lifetimes of excited electrons in Mo and Rh