Study of the chemical states of chlorine and fluorine in akaganétte