Frozen-density embedding theory with average solvent charge