The influence of residual stress in selected non-oxide ceramics composites on their wear resistance in different environments