Friction and wear properties of WC-Co and Mo-Mo2C based functionally graded materials