UK, France to tackle online extremism