Electronic friction and electron transfer rates at metallic electrodes