Europe saw a surge in the number of ATM black box attacks - where devices are attached to machines and command cash outs - in the first half of 2017.