Separation and spectrophotometric determination of elements