Cobalt, nickel and selenium in sulphides as indicators of ore genesis