Simultaneous determination of cobalt and nickel by first-derivative spectrophotometry