The Role of ions in the acid melting of DNA