how long does police warnings stay on your record