Transport properties of Co in Cu(100) from first principles