On isometries of some Riemannian Lie groups