First-principles study of boron, carbon and nitrogen adsorption on WC(1 0 0) surface