An efficient and robust procedure to calculate absorption spectra of aqueous charged species applied to NO2−