Chemical and electrochemical dissolution of chromium at room and elevated temperatures