The influence of oxide and lubricant films on the friction and surface damage of metals