Police have not kept up with the risks posed to the public by social media, a review of the response to last summer's UK riots has found.