Antiferroelectric instability in the kagome francisites Cu3Bi(SeO3)2O2X ( X=Cl,Br )