Spectrophotometric determination of aluminium and nickel