A method for the measurement of the dissolution of metals in salt solutions