Thornton man charged with impersonating a police officer