Adsorption of ionic compounds under an applied electric field in indoor environments