Longtime Eugene police detective quits amid accusations of