Dry friction and wear of self-lubricating carbon-nanotube-containing surfaces