Some of the UK&rsquo;s biggest police forces are using algorithms to predict crime