Nonequilibrium molecular dynamics simulations of metallic friction at Ta/Al and Cu/Ag interfaces