Retailers have suffered record levels of crime, despite spending more than ever before on prevention.