The French presidential candidate Emmanuel Macron's campaign staff said it was the target of a hacking operation.