Role of transferred layers in friction and wear for magnetized dry frictional applications