Terror attacks coincide with French elections